package cn.jxau.service.impl;

import org.springframework.beans.factory.annotation.Autowired;

import cn.jxau.mapper.ArticleCommentMapper;
import cn.jxau.mapper.ArticleMapper;
import cn.jxau.mapper.ArticleReviewMapper;
import cn.jxau.mapper.ArticleTypeMapper;
import cn.jxau.mapper.PrivilegeMapper;
import cn.jxau.mapper.ReplyMapper;
import cn.jxau.mapper.RoleMapper;
import cn.jxau.mapper.RolePrivilegeMapper;
import cn.jxau.mapper.UserCollectionsMapper;
import cn.jxau.mapper.UserCollectionsTypeMapper;
import cn.jxau.mapper.UserMapper;
import cn.jxau.service.CommonService;
/**
 * service的公共抽象类，实现公共的Service方法。
 * @author licho
 *
 */
public abstract class AbstractCommonService implements CommonService{
	@Autowired
	protected UserMapper userMapper;//t_user表相关操作
	@Autowired
	protected RoleMapper roleMapper;//t_role相关操作
	@Autowired
	protected PrivilegeMapper privilegeMapper;//t_privilege表相关操作
	@Autowired
	protected RolePrivilegeMapper rolePrivilegeMapper;//t_role_privilege表相关操作
	@Autowired
	protected ArticleMapper articleMapper;//t_article表相关操作
	@Autowired
	protected ArticleCommentMapper articleCommentMapper;//t_article_comment表相关操作
	@Autowired
	protected ArticleReviewMapper articleReviewMapper;//t_article_review表相关操作
	@Autowired
	protected ArticleTypeMapper articleTypeMapper;//t_article_type表相关操作
	@Autowired
	protected ReplyMapper replyMapper;//t_reply表相关操作
	@Autowired
	protected UserCollectionsTypeMapper collectionsTypeMapper;//t_usercollectionstype表相关操作
	@Autowired
	protected UserCollectionsMapper userCollectionsMapper;//t_userCollections表相关操作
}
